package org.to_zero.springboot.jwt.mapper;

import org.apache.ibatis.annotations.Param;
import org.to_zero.springboot.jwt.entity.SysAuth;
import org.to_zero.springboot.jwt.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MoonHolder
 * @since 2020-12-10
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    List<SysAuth> findAuthByUserId(@Param("userId") Integer userId);
}
